package com.znsb.msfq.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @name： 孙科技
 * @phone： 13308334117
 * @createTime： 2017/2/15
 * @modifyTime： 2017/2/15
 * @explain：
 */
public class BannerBean implements Serializable {

    /**
     * size : 5
     * dataList : [{"adPosition":0,"size":5,"dataList":[{"id":10,"title":"佳能相机","link":"https://item.jd.com/974380.html","sort":1,"type":0,"goodsId":1,"adPosition":0,"url":"https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1486611293897.png"},{"id":11,"title":"佳能相机","link":"https://item.jd.com/974380.html","sort":2,"type":0,"goodsId":1,"adPosition":0,"url":"https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1486611347203.png"},{"id":12,"title":"佳能相机","link":"https://item.jd.com/974380.html","sort":3,"type":0,"goodsId":1,"adPosition":0,"url":"https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1486611366791.jpg"},{"id":13,"title":"佳能相机","link":"https://item.jd.com/974380.html","sort":4,"type":0,"goodsId":1,"adPosition":0,"url":"https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1486611403100.png"},{"id":14,"title":"佳能相机","link":"https://item.jd.com/bigimage.aspx?id=974380#prev","sort":5,"type":0,"goodsId":1,"adPosition":0,"url":"http//msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1486611434731.png"}]},{"adPosition":1,"size":1,"dataList":[{"id":15,"title":"广告位1","link":"","sort":1,"type":0,"goodsId":5,"adPosition":1,"url":"https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1487124394934.png"}]},{"adPosition":2,"size":1,"dataList":[{"id":16,"title":"广告位2","link":"","sort":1,"type":0,"goodsId":3,"adPosition":2,"url":"https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1487127660031.png"}]},{"adPosition":3,"size":1,"dataList":[{"id":17,"title":"广告位3","link":"","sort":2,"type":0,"goodsId":5,"adPosition":3,"url":"https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1487127695846.jpg"}]},{"adPosition":4,"size":1,"dataList":[{"id":18,"title":"广告位4","link":"","sort":1,"type":0,"goodsId":1,"adPosition":4,"url":"https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1487127743796.jpg"}]}]
     */

    private int size;
    private List<DataListBeanX> dataList;

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public List<DataListBeanX> getDataList() {
        return dataList;
    }

    public void setDataList(List<DataListBeanX> dataList) {
        this.dataList = dataList;
    }

    public static class DataListBeanX {
        /**
         * adPosition : 0
         * size : 5
         * dataList : [{"id":10,"title":"佳能相机","link":"https://item.jd.com/974380.html","sort":1,"type":0,"goodsId":1,"adPosition":0,"url":"https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1486611293897.png"},{"id":11,"title":"佳能相机","link":"https://item.jd.com/974380.html","sort":2,"type":0,"goodsId":1,"adPosition":0,"url":"https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1486611347203.png"},{"id":12,"title":"佳能相机","link":"https://item.jd.com/974380.html","sort":3,"type":0,"goodsId":1,"adPosition":0,"url":"https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1486611366791.jpg"},{"id":13,"title":"佳能相机","link":"https://item.jd.com/974380.html","sort":4,"type":0,"goodsId":1,"adPosition":0,"url":"https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1486611403100.png"},{"id":14,"title":"佳能相机","link":"https://item.jd.com/bigimage.aspx?id=974380#prev","sort":5,"type":0,"goodsId":1,"adPosition":0,"url":"http//msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1486611434731.png"}]
         */

        private int adPosition;
        private int size;
        private List<DataListBean> dataList;

        public int getAdPosition() {
            return adPosition;
        }

        public void setAdPosition(int adPosition) {
            this.adPosition = adPosition;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public List<DataListBean> getDataList() {
            return dataList;
        }

        public void setDataList(List<DataListBean> dataList) {
            this.dataList = dataList;
        }

        public static class DataListBean {
            /**
             * id : 10
             * title : 佳能相机
             * link : https://item.jd.com/974380.html
             * sort : 1
             * type : 0
             * goodsId : 1
             * adPosition : 0
             * url : https://msfq-test.oss-cn-shanghai.aliyuncs.com/banner/img/1486611293897.png
             */

            private int id;
            private String title;
            private String link;
            private int sort;
            private int type;
            private int goodsId;
            private int adPosition;
            private String url;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(int goodsId) {
                this.goodsId = goodsId;
            }

            public int getAdPosition() {
                return adPosition;
            }

            public void setAdPosition(int adPosition) {
                this.adPosition = adPosition;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
